package jmu.cze.mapper;

import jmu.cze.pojo.Flight;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FlightMapper {
    int deleteByID(Integer flightID);

    int insert(Flight flight);

    Flight selectByID(Integer flightID);

    int update(Flight flight);
}